ab9da4322694a084badb4be3cf8e0f31abbfc3c1,src/main/java/org/graylog2/messagehandlers/gelf/GELFClientHandlerBase.java,GELFClientHandlerBase,parse,#,45

Before Change


        this.message.level = this.jsonToInt(json.get("level"));
        this.message.type = this.jsonToInt(json.get("type"));
        this.message.host = this.jsonToString(json.get("host"));
        this.message.file = this.jsonToString(json.get("file"));
        this.message.line = this.jsonToInt(json.get("line"));

        return true;

After Change


        this.message.setFullMessage(this.jsonToString(json.get("full_message")));
        this.message.setLevel(this.jsonToInt(json.get("level")));
        this.message.setHost(this.jsonToString(json.get("host")));
        this.message.setFile(this.jsonToString(json.get("file")));
        this.message.setLine(this.jsonToInt(json.get("line")));

        // Add additional data if there is some.